import axios from './axios'
import resfulParamsToUrl from './resfulParamsToUrl'

// 医生工作组添加
export const doctorWorkInsert = params => {
	return axios
		.post(resfulParamsToUrl('/sys/auth/tDoctorWork/insert', params), params)
		.catch(() => {})
}
// 医生工作组修改
export const doctorWorkUpdate = params => {
	return axios
		.post(resfulParamsToUrl('/sys/auth/tDoctorWork/update', params), params)
		.catch(() => {})
}
// 医生工作组删除
export const doctorWorkDelete = params => {
	return axios
		.post(resfulParamsToUrl('/sys/auth/tDoctorWork/delete', params), params)
		.catch(() => {})
}
// 医生工作组分页查询
export const getDoctorWorkPageList = params => {
	return axios
		.post(resfulParamsToUrl('/sys/auth/tDoctorWork/pageList', params), params)
		.catch(() => {})
}
